/**
 * Copyright (c) 2025 myons Inc. All rights reserved.
 */
package cn.zmwh.bbs.modules.bbs.pojo.request;

import cn.zmwh.common.core.api.BaseRequest;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @describe: 、
 * @author: dmzmwh 、
 * @time: 2025-07-18 16:48 、
 */
@Data
public class PublishRequest extends BaseRequest {


    private Long id;


    @ApiModelProperty(value = "文章ID")
    private String articleNo;

    @ApiModelProperty(value = "板块ID")
    private Long boardId;

    @ApiModelProperty(value = "父级板块ID")
    private Long pBoardId;

    @ApiModelProperty(value = "板块名称")
    private String boardName;

    @ApiModelProperty(value = "父板块名称")
    private String pBoardName;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "封面")
    private String cover;

    @ApiModelProperty(value = "内容")
    private String content;

    @ApiModelProperty(value = "markdown内容")
    private String markdownContent;

    @ApiModelProperty(value = "0:富文本编辑器 1:markdown编辑器")
    private Integer editorType;

    @ApiModelProperty(value = "摘要")
    private String summary;

    @ApiModelProperty(value = "0:没有附件  1:有附件")
    private Integer attachmentType;

    @ApiModelProperty(value = "语言类型")
    private String lang;

    @ApiModelProperty(value = "1译文，0原创")
    private Integer translate;


    private List<AttachmentRequest> attachments;
}
